﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace lazy02
{
    class Hero
    {
        private string Name;
        private string Newname;
        private string heroInfo;
        private int attack;
        private int defense;
        private int speed;



        public string NaME
        {
            get
            {
                return this.Name;
            }
            set
            {
                this.Name = value;
            }
        }

        public string NewName 
        { get => Newname; set => Newname = value; }
        public string HeroInfo 
        { get => heroInfo; set => heroInfo = value; }
        public int Attack 
        { get => attack; set => attack = value; }
        public int Defense 
        { get => defense; set => defense = value; }
        public int Speed 
        { get => speed; set => speed = value; }

        public Hero(string Name, string NewName, int attack, int deferse, int speed)
        {
            this.NaME = Name;
            this.NewName = NewName;
            this.Attack = attack;
            this.Defense = deferse;
            this.Speed = speed;
        }
    }
}
